﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Collections;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000143 RID: 323
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class BNOCKKLBIAB : IMessage<BNOCKKLBIAB>, IMessage, IEquatable<BNOCKKLBIAB>, IDeepCloneable<BNOCKKLBIAB>, IBufferMessage
	{
		// Token: 0x17000460 RID: 1120
		// (get) Token: 0x06000EC5 RID: 3781 RVA: 0x0002BD21 File Offset: 0x00029F21
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<BNOCKKLBIAB> Parser
		{
			get
			{
				return BNOCKKLBIAB._parser;
			}
		}

		// Token: 0x17000461 RID: 1121
		// (get) Token: 0x06000EC6 RID: 3782 RVA: 0x0002BD28 File Offset: 0x00029F28
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return BNOCKKLBIABReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17000462 RID: 1122
		// (get) Token: 0x06000EC7 RID: 3783 RVA: 0x0002BD3A File Offset: 0x00029F3A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return BNOCKKLBIAB.Descriptor;
			}
		}

		// Token: 0x06000EC8 RID: 3784 RVA: 0x0002BD41 File Offset: 0x00029F41
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public BNOCKKLBIAB()
		{
		}

		// Token: 0x06000EC9 RID: 3785 RVA: 0x0002BD54 File Offset: 0x00029F54
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public BNOCKKLBIAB(BNOCKKLBIAB other) : this()
		{
			this.cKHOODLCGPK_ = other.cKHOODLCGPK_;
			this.lHECBCGMDGJ_ = other.lHECBCGMDGJ_.Clone();
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06000ECA RID: 3786 RVA: 0x0002BD8A File Offset: 0x00029F8A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public BNOCKKLBIAB Clone()
		{
			return new BNOCKKLBIAB(this);
		}

		// Token: 0x17000463 RID: 1123
		// (get) Token: 0x06000ECB RID: 3787 RVA: 0x0002BD92 File Offset: 0x00029F92
		// (set) Token: 0x06000ECC RID: 3788 RVA: 0x0002BD9A File Offset: 0x00029F9A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint CKHOODLCGPK
		{
			get
			{
				return this.cKHOODLCGPK_;
			}
			set
			{
				this.cKHOODLCGPK_ = value;
			}
		}

		// Token: 0x17000464 RID: 1124
		// (get) Token: 0x06000ECD RID: 3789 RVA: 0x0002BDA3 File Offset: 0x00029FA3
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RepeatedField<TrainPartyGameSkill> LHECBCGMDGJ
		{
			get
			{
				return this.lHECBCGMDGJ_;
			}
		}

		// Token: 0x06000ECE RID: 3790 RVA: 0x0002BDAB File Offset: 0x00029FAB
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as BNOCKKLBIAB);
		}

		// Token: 0x06000ECF RID: 3791 RVA: 0x0002BDBC File Offset: 0x00029FBC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(BNOCKKLBIAB other)
		{
			return other != null && (other == this || (this.CKHOODLCGPK == other.CKHOODLCGPK && this.lHECBCGMDGJ_.Equals(other.lHECBCGMDGJ_) && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06000ED0 RID: 3792 RVA: 0x0002BE0C File Offset: 0x0002A00C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.CKHOODLCGPK != 0U)
			{
				num ^= this.CKHOODLCGPK.GetHashCode();
			}
			num ^= this.lHECBCGMDGJ_.GetHashCode();
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06000ED1 RID: 3793 RVA: 0x0002BE59 File Offset: 0x0002A059
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06000ED2 RID: 3794 RVA: 0x0002BE61 File Offset: 0x0002A061
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06000ED3 RID: 3795 RVA: 0x0002BE6C File Offset: 0x0002A06C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.CKHOODLCGPK != 0U)
			{
				output.WriteRawTag(104);
				output.WriteUInt32(this.CKHOODLCGPK);
			}
			this.lHECBCGMDGJ_.WriteTo(ref output, BNOCKKLBIAB._repeated_lHECBCGMDGJ_codec);
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06000ED4 RID: 3796 RVA: 0x0002BEBC File Offset: 0x0002A0BC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.CKHOODLCGPK != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.CKHOODLCGPK);
			}
			num += this.lHECBCGMDGJ_.CalculateSize(BNOCKKLBIAB._repeated_lHECBCGMDGJ_codec);
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06000ED5 RID: 3797 RVA: 0x0002BF10 File Offset: 0x0002A110
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(BNOCKKLBIAB other)
		{
			if (other == null)
			{
				return;
			}
			if (other.CKHOODLCGPK != 0U)
			{
				this.CKHOODLCGPK = other.CKHOODLCGPK;
			}
			this.lHECBCGMDGJ_.Add(other.lHECBCGMDGJ_);
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06000ED6 RID: 3798 RVA: 0x0002BF5D File Offset: 0x0002A15D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06000ED7 RID: 3799 RVA: 0x0002BF68 File Offset: 0x0002A168
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 104U)
				{
					if (num != 122U)
					{
						this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
					}
					else
					{
						this.lHECBCGMDGJ_.AddEntriesFrom(ref input, BNOCKKLBIAB._repeated_lHECBCGMDGJ_codec);
					}
				}
				else
				{
					this.CKHOODLCGPK = input.ReadUInt32();
				}
			}
		}

		// Token: 0x04000643 RID: 1603
		private static readonly MessageParser<BNOCKKLBIAB> _parser = new MessageParser<BNOCKKLBIAB>(() => new BNOCKKLBIAB());

		// Token: 0x04000644 RID: 1604
		private UnknownFieldSet _unknownFields;

		// Token: 0x04000645 RID: 1605
		public const int CKHOODLCGPKFieldNumber = 13;

		// Token: 0x04000646 RID: 1606
		private uint cKHOODLCGPK_;

		// Token: 0x04000647 RID: 1607
		public const int LHECBCGMDGJFieldNumber = 15;

		// Token: 0x04000648 RID: 1608
		private static readonly FieldCodec<TrainPartyGameSkill> _repeated_lHECBCGMDGJ_codec = FieldCodec.ForMessage<TrainPartyGameSkill>(122U, TrainPartyGameSkill.Parser);

		// Token: 0x04000649 RID: 1609
		private readonly RepeatedField<TrainPartyGameSkill> lHECBCGMDGJ_ = new RepeatedField<TrainPartyGameSkill>();
	}
}
